import {getStorage,setStorage} from '@/util/auth.js'
export function login(user,token){
	let oldLogin=getStorage('login');
	oldLogin.token=token;
	oldLogin.user=user;
	setStorage('login',oldLogin);
}